package indi.jp.project.core.service;

import indi.jp.project.core.entity.po.AttachmentPO;

import java.util.List;

/**
 * 附件Service
 *
 * @author jiangping
 * @date 2022/5/14
 */
public interface AttachmentService {

    void deleteById(String id) throws Exception;

    void delete(String sId) throws Exception;

    void delete(String sId, int category) throws Exception;

    void save(AttachmentPO attachmentPO, String sId) throws Exception;

    void save(List<AttachmentPO> list, String sId) throws Exception;

    List<AttachmentPO> queryAttachments(String sId, Integer category) throws Exception;
}
